$theme-color:#ECC37E;
$gradient1:#EAC984;
$gradient2:#E0B26C;

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: #000;
  -webkit-touch-callout: none;
  outline:0;
  -webkit-text-size-adjust:none;
}

body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  font-family: "microsoft yahei",Helvetica,sans-serif;
  color: #888;
  background: #fff;
  overflow: hidden;
}

ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.left {
  float: left;
}

.right {
  float: right;
}

.bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  height: 1.2rem;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  color: white;
  [class*=label] {
    height: 1.2rem;
    line-height: 1.2rem;
    position: absolute;
    top: 0;
    z-index: 11;
  }
  .right-label {
    right: .6rem;
  }
  .left-label {
    left:.2rem;
  }
}

.bar-title {
  position: absolute;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: .42rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  white-space: nowrap;
}

.bar~.content {
  top: 1.2rem;
}

.content {
  position: absolute;
  padding-bottom: 1.3rem;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling : touch;
}

a {
  text-decoration: none;
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
}

a:active {
  color: inherit;
}

.icon {
  width: .8rem;
  height: 100%;
  position: relative;
  [class^=icon] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-size: cover;
    background-repeat: no-repeat;
  }
}

input {
  border-radius: 0;
  filter: alpha(opacity=0);
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  -webkit-font-smoothing: none;
  border: none;
  outline: none;
  display: block;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.wrapper {
  position: absolute;
  display: none;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(0,0,0,.2);
  .popbox {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 6.5rem;
    font-size: 28px;
    background: #fff;
    box-shadow: 0 0 1px #999;
    border-radius: 10px;
    .top{
      text-align: center;
      border-bottom: 1px solid #ddd;
      .p-title {
        margin-top: .5rem;
        height: .6rem;
        line-height: .6rem;
        font-weight: 600;
        font-size: 32px;
      }
      .p-content {
        padding: .4rem .6rem;
        line-height: .5rem;
      }
    }
    .bottom{
      text-align: center;
      line-height: 1rem;
      div {
        width: 50%;
      }
      .left {
        border-right: 1px solid #ddd;
      }
      .right {
        color: $theme-color;
      }
      a {
        display: block;
        width: 50%;
      }
    }
  }
}
.wrapper.active {
  display: block;
}

.toolTip {
  display: none;
  color: white;
  position: absolute;
  bottom: 20%;
  left: 50%;
  z-index: 100;
  padding: 0 .2rem;
  width: auto;
  line-height: .8rem;
  text-align: center;
  font-size: .4rem;
  transform: translateX(-50%);
  background: rgba(50,50,50,.8);
};

.toBack {
  height: 1.2rem;
  line-height: 1.2rem;
  color: #999;
  font-size: .4rem;
}

.icon-left {
  height: .6rem;
  width: .35rem;
  background-image: url(../images/toLeft.png);
}

.top-box {
  padding:0 .6rem;
  margin: .8rem 0;
  .t-title {
    font-size: .8rem;
    color: #000;
    height: 1.2rem;
    line-height: 1.2rem;
  }
  .tip-text {
    font-size: .35rem;
    height: .5rem;
    line-height: .5rem;
    >*{
      color: $theme-color;
    }
  }
}

.flex-bd {
  flex: 1;
}

.form-box {
  padding:0 .8rem;
  .input-group {
    height: 1.2rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    font-size: .4rem;
    label{
      width: 2rem;
      color: #333;
      line-height: 1.2rem;
    }
    input {
      ::-webkit-input-placeholder {
        color: #ddd;
        font-size: .48rem;
        height: 1.2rem;
        line-height: 1.2rem;
      }
      font-size: .45rem;
      height: 1.2rem;
      line-height: 1.2rem;
    }
    .delete {
      font-size: .48rem;
      height: 1.2rem;
      line-height: 1.2rem;
      text-align: center;
      color: #ddd;
    }
  }
  .button {
    margin-top: .5rem;
    height: 1rem;
    line-height:1rem;
    background: #E3BA74;
    color: #fff;
    text-align: center;
    font-size: .4rem;
    border-radius: 5px;
  }
  .button.radius {
    margin-left: 1.5rem;
    width: 5.4rem;
    height: 1.2rem;
    line-height: 1.2rem;
    border-radius: .2rem;
    background: linear-gradient(90deg,$gradient1,$gradient2);
  }
}

.vcode-box {
  display: flex;
  justify-content: space-between;
  .vcode-item {
    border-bottom: 1px solid #555;
    width: 1rem;
    height: 1rem;
    text-align: center;
    font-size: .8rem;
    color: #999;
  }
}

.reSent {
  margin-top: .3rem;
  height: .7rem;
  line-height: .7rem;
  font-size: .37rem;
  color: $theme-color;
}
.reSent.active {
  color: inherit;
}

.gradient {
  background: linear-gradient(90deg,$gradient1,$gradient2);
  .icon-left {
    background-image: url(../images/toLeft2.png);
  }
  .toBack {
    color: #fff;
  }
}

